package com.wltt.product.ahuthr.mapper;

import com.wltt.product.ahuthr.mapper.base.BaseMapper;
import com.wltt.product.ahuthr.model.po.RemindPO;
import org.apache.ibatis.annotations.Param;


/**
 * @ClassName: RemindPO
 * @Description: Dao
 * @Date: 2024-08-18 16:26:22
 * @Author yanggl
 */
public interface RemindMapper extends BaseMapper<RemindPO, Long> {

    /**
     * 根据提醒编码查询
     *
     * @param remindCode
     * @return
     */
    RemindPO queryByRemindCode(@Param("remindCode") String remindCode);

    /**
     * 根据类型和业务标识删除
     *
     * @param remindType
     * @param relatedObz
     * @return
     */
    void deleteByRemindTypeAndObz(@Param("remindType") Integer remindType, @Param("relatedObz") String relatedObz);
}